package cn.wangkai.peanut.util.Auth;

import java.util.UUID;

public class AuthUtil {

	public AuthUtil() {
	}

	public static String getGUID(){
		UUID uuid = UUID.randomUUID();
		return uuid.toString().replaceAll("-", "");
	}
	
	/**
	 * @param args
	 */
	public static void main(String[] args) {
		for (int i = 0; i < 1000; i++) {
			System.out.println((UUID.randomUUID()).toString().replaceAll("-", "").length());
		}

	}

}
